<?php
include 'common.php'; 
$_SESSION['code'] = str_rand();
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title><?=$website['title'];?></title>
	<link href="<?=$website['public'];?>/admin/base.css" rel="stylesheet" type="text/css" />
	<link href="<?=$website['public'];?>/admin/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="login">
	<div class="login_titile">用 户 登 录</div>
	<div class="biaodan">
		<form method="post" action="judge/login_if.php">
			<div class="li">
				<label>账号</label>
				<input type="text" name="name"  class="input">
			</div>
			<div class="li">
				<label>密码</label>
				<input type="password" name="password"  class="input">
			</div>
			<div class="li">
				<label>验证码</label>
				<input type="text" name="code" class="input input_code">
				<input type="button" name="code1" class="code" value="<?php echo $_SESSION['code'];?>">
			</div>
			<button class="butt_on" type="submit">立即登录</button>
		</form>
	</div>
</div>
</body>

</html>